package com.example.paymentsystem.observer;

import com.example.paymentsystem.common.PaymentRequest;
import com.example.paymentsystem.common.PaymentResponse;

/**
 * @author YiYuan
 * @data 2025/6/25
 * @apoNote
 */
public class PaymentEvent {

    private PaymentRequest request;

    private PaymentResponse response;

    public PaymentEvent(PaymentRequest request, PaymentResponse response) {
        this.request = request;
        this.response = response;
    }

    public PaymentRequest getRequest() {
        return request;
    }

    public PaymentResponse getResponse() {
        return response;
    }
}
